package com.phonetools.commonutils.number;

public class HexUtils {
    /**
     * Hex字符串转byte
     *
     * @param inHex 待转换的Hex字符串
     * @return 转换后的byte
     */
    protected static byte hexToByte(String inHex) {
        return (byte) Integer.parseInt(inHex, 16);
    }
}
